/*
 * @Author: your name
 * @Date: 2021-01-26 15:34:17
 * @LastEditTime: 2021-01-27 16:26:26
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \tlwok-front-purchase-platfrom\src\api\admin\purchase\onlineOrder.js
 */
import Http from '@/lib/http';

export const exportUrl = Http.getUrl('/onlineOrder/export');

export function pageList (data) {
  return Http.get('/onlineOrder/pageList', {
    ...data,
  });
}

export function detail (purchaseNo) {
  return Http.get('/onlineOrder/detail', {
    purchaseNo,
  });
}

export function relateOrderEdit (data) {
  return Http.post('/onlineOrder/relateOrder/edit', {
    ...data,
  });
}
